import { axios } from '@/utils/request'

export function exportESB(caseNos) {
  return axios({
    url: '/esb/exportESB/',
    method: 'post',
    data: caseNos
  })
}

export function uploadESB(formData) {
  return axios({
    url: '/esb/uploadESB',
    method: 'post',
    data: formData,
    headers: {
      'Content-Type': 'multipart/form-data;boundary=' + new Date().getTime()
    }
  })
}
